require(['jquery', 'cookie', 'app', "lay"], function ($) {
    layui.use('form', function () {
        var form = layui.form;
        form.on('submit(formDemo)', function (data) {
            debugger;
            var re = playPost("menu/GatewayController/rule", "", data.field.desc);
            alr(re.msg);
            return false;
        });
    });
    require(['vue'], function (Vue) {
        var dic = new Vue({
            el: ".vue-box"
            , data: {
                gateway: ""
            }
            , created: function () {
                this.loadPage();
            }
            , methods: {
                loadPage: function () {
                    load();
                    this.gateway = playGet("menu/GatewayController/rule").data;
                },
                seachs: function () {

                },
                refer: function () {

                }
            }
        });
    })
});